import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class JvtdScreenUtil {
  /// 初始化屏幕适配
  ///
  /// [orientation] 横竖屏
  /// [size] 设计尺寸
  static void init(
          {Orientation orientation = Orientation.portrait,
          Size size = const Size(375, 812)}) =>
      ScreenUtil.init(BoxConstraints.expand(), orientation, designSize: size);
}
